Skip to content

Changed Json Serialization to System.Text.Json#5

Open
KaiBroeker wants to merge 1 commit intocmdotcom:masterfrom
KaiBroeker:master
Open

Changed Json Serialization to System.Text.Json#5
KaiBroeker wants to merge 1 commit intocmdotcom:masterfrom
KaiBroeker:master

Conversation

@KaiBroeker
Copy link

Hi togehter,

I have been using CM for some time, but via direct call and python. With the switch to C# I found this repo.

I have changed the code from Newtonsoft.Json to System.Text.Json. System.Text.Json is in comparisons faster than newtonsoft. This should speed up the execution, especially if you have to send many calls.
Furthermore System.Text.Json should be delivered with dotnet, so this lib would have less dependencies.
I tested the code with your test scripts and also the dtmf part productive in my application.

I hope the code meets your expectations.

System.Text.Json ist faster then Newtonsoft.Json, so I changed the code to fit the new lib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant